﻿<UserControl
    x:Class="HoloJson.MiniDriver.ParserDemoControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:HoloJson.MiniDriver"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300"
    d:DesignWidth="400" MinHeight="200" MinWidth="300">
    
    <Grid>
    	<StackPanel HorizontalAlignment="Stretch" VerticalAlignment="Top">
            <StackPanel Orientation="Horizontal" HorizontalAlignment="Stretch" VerticalAlignment="Top">
    			<TextBox x:Name="TextBoxInputJsonFilePath" TextWrapping="NoWrap" Text="" PlaceholderText="(JSON File)" MinWidth="240"/>
    			<Button x:Name="ButtonSelect" Content="Select" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Click="ButtonSelect_Click"/>
                <Button x:Name="ButtonParse" Content="Parse" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Click="ButtonParse_Click"/>
            </StackPanel>
            <StackPanel Orientation="Horizontal" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="0,5,0,0">
                <TextBox x:Name="TextBoxInputJSON" TextWrapping="Wrap" Text="" PlaceholderText="(Input JSON)" AcceptsReturn="True" IsReadOnly="True" MinHeight="200" MinWidth="300" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/>
    		</StackPanel>
    	</StackPanel>

    </Grid>
</UserControl>
